﻿namespace SKBKontur.CassandraLogging.Tests.LambdaExpressionParsing.Helpers
{
    public class MockForFilterDefinition
    {
        public static int StaticField;
        public static int StaticMethod()
        {
            return StaticField;
        }
        public static int StaticMethodWithParameter(int i)
        {
            return i;
        }
        public int Field;
        public int Property { get; set; }
        public int Method()
        {
            return Field;
        }
        public int MethodWithParameter(int i)
        {
            return i;
        }
        public int this[int i]
        {
            get { return i; }
        }
        public MockForFilterDefinition MethodReturningObject(int field)
        {
            var result = new MockForFilterDefinition {Field = field};
            return result;
        }
    }
}